package Model;

import java.util.ArrayList;

public class Format {
private int formatid;
private String medie;
private int antal;
private double pris;
private double uPris;
private ArrayList<Udlej_Salg_Vare> usv;
private ArrayList<Eksemplar> eks;
private Vare vare;
public Format(int formatid, String medie, int antal,
		double pris, double uPris, Vare vare) {
	super();
	this.formatid = formatid;
	this.medie = medie;
	this.antal = antal;
	this.pris = pris;
	this.uPris = uPris;
	this.vare = vare;
}

public Format(int formatid, String medie, int antal,
		double pris, Vare vare) {
	super();
	this.formatid = formatid;
	this.medie = medie;
	this.antal = antal;
	this.pris = pris;
	this.vare = vare;
}

public Format(String medie, int antal, double pris,
		Vare vare) {
	super();
	this.medie = medie;
	this.antal = antal;
	this.pris = pris;
	this.vare = vare;
}

public Format()
{
	
}

public Format(int formatid, String medie, int antal,
		double pris, double uPris, ArrayList<Eksemplar> eks, Vare vare) {
	super();
	this.formatid = formatid;
	this.medie = medie;
	this.antal = antal;
	this.pris = pris;
	this.uPris = uPris;
	this.eks = eks;
	this.vare = vare;
}

public int getFormatid() {
	return formatid;
}

public void setFormatid(int formatid) {
	this.formatid = formatid;
}

public String getMedie() {
	return medie;
}

public void setMedie(String medie) {
	this.medie = medie;
}

public int getAntal() {
	return antal;
}

public void setAntal(int antal) {
	this.antal = antal;
}

public double getPris() {
	return pris;
}

public void setPris(double pris) {
	this.pris = pris;
}

public double getuPris() {
	return uPris;
}

public void setuPris(double uPris) {
	this.uPris = uPris;
}

public ArrayList<Eksemplar> getEks() {
	return eks;
}

public void setEks(ArrayList<Eksemplar> eks) {
	this.eks = eks;
}

public Vare getVare() {
	return vare;
}

public void setVare(Vare vare) {
	this.vare = vare;
}

public ArrayList<Udlej_Salg_Vare> getUsv() {
	return usv;
}

public void setUsv(ArrayList<Udlej_Salg_Vare> usv) {
	this.usv = usv;
}
}

